﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Manas.DynamicDeepZoom.CodeCamp.ItemModels;

namespace Manas.DynamicDeepZoom.Design
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            CreateMockDataContext();
        }

        private void CreateMockDataContext()
        {
            this.DataContext = new
            {
                CodeCamp = new CodeCampModel
                {
                    Name = "CodeCamp"
                },
                Time = new TimeOfDayModel
                {
                    Name = "Mediodía",
                    From = new DateTime(2009, 09, 26, 12, 30, 00),
                    To = new DateTime(2009, 09, 26, 13, 30, 00),
                },
                Talk = new TalkModel
                {
                    Name = "Silverlight Deep Zoom con contenido dinámico",
                    Authors = "Martin Verzilli y Santiago Palladino",
                },
                Description = new TalkDescriptionModel
                {
                    Name = "Silverlight Deep Zoom con contenido dinámico",
                    Authors = "Martin Verzilli y Santiago Palladino",
                    Description = "Es habitual el uso de SilverLight DeepZoom para visualizar imágenes de gran tamaño y resolución sin sacrificar performance. En esta charla mostraremos cómo utilizar este atractivo control para presentar información jerárquica generada dinámicamente."
                },
            };
        }
    }
}
